package com.ruoyi.mes.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库位信息对象 locator_info
 * 
 * @author LongAndHao
 * @date 2023-09-27
 */
public class LocatorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 库房id */
    private Long houId;

    /** 库房名称 */
    @Excel(name = "库房名称")
    private String houName;

    /** 库位编码 */
    @Excel(name = "库位编码")
    private String code;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String serialCode;

    /** 最大容量 */
    @Excel(name = "最大容量")
    private Long maxiCapacity;

    /** 剩余容量 */
    @Excel(name = "剩余容量")
    private Long remainCapacity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouId(Long houId) 
    {
        this.houId = houId;
    }

    public Long getHouId() 
    {
        return houId;
    }
    public void setHouName(String houName) 
    {
        this.houName = houName;
    }

    public String getHouName() 
    {
        return houName;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setSerialCode(String serialCode) 
    {
        this.serialCode = serialCode;
    }

    public String getSerialCode() 
    {
        return serialCode;
    }
    public void setMaxiCapacity(Long maxiCapacity) 
    {
        this.maxiCapacity = maxiCapacity;
    }

    public Long getMaxiCapacity() 
    {
        return maxiCapacity;
    }
    public void setRemainCapacity(Long remainCapacity) 
    {
        this.remainCapacity = remainCapacity;
    }

    public Long getRemainCapacity() 
    {
        return remainCapacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houId", getHouId())
            .append("houName", getHouName())
            .append("code", getCode())
            .append("serialCode", getSerialCode())
            .append("maxiCapacity", getMaxiCapacity())
            .append("remainCapacity", getRemainCapacity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
